Display Name = "Grandgold Castle 2F"
Parallax Name = ""
Note = ""

CommonEvent 1
Name = "EV001"

  Page 0
    PlaySE(["RPG::SE(@name=\"Move\", @pitch=100, @volume=80)"])
    TransferPlayer([0, 609, 30, 30, 2, 0])
    Empty([])

CommonEvent 2
Name = "EV002"

  Page 0
    PlaySE(["RPG::SE(@name=\"Move\", @pitch=100, @volume=80)"])
    TransferPlayer([0, 609, 57, 22, 2, 0])
    Empty([])

CommonEvent 3
Name = "EV003"

  Page 0
    PlaySE(["RPG::SE(@name=\"Move\", @pitch=100, @volume=80)"])
    TransferPlayer([0, 609, 3, 22, 2, 0])
    Empty([])

CommonEvent 4
Name = "EV004"

  Page 0
    ShowTextAttributes(["giriel_fc1", 0, 0, 2])
    ShowText(["\\n<Giriel>"])
    ShowText(["Lady Sariela may look dangerous, but she is quite a rational person."])
    ShowText(["She is strict on military discipline, but as long as you follow the rules, there are no problems."])
    ShowTextAttributes(["giriel_fc1", 0, 0, 2])
    ShowText(["\\n<Giriel>"])
    ShowText(["The prison guards, due to their harsh duties... have solid welfare benefits."])
    ShowText(["In the heavenly realm, only here are angels allowed to drink alcohol outside of work."])
    ShowTextAttributes(["giriel_fc1", 0, 0, 2])
    ShowText(["\\n<Giriel>"])
    ShowText(["In comparison, it seems Lady Gabriela was quite severe."])
    ShowText(["The Rataela who were demoted here seemed rather lively instead."])
    Script(["actor_label_jump"])
    ExitEventProcessing([])
    Label(["442"])
    ShowTextAttributes(["ratael_fc1", 0, 0, 2])
    ShowText(["\\n<Latael>"])
    ShowText(["I'm enjoying the adventure too..."])
    ExitEventProcessing([])
    Label(["443"])
    ShowTextAttributes(["rifaiel_fc1", 2, 0, 2])
    ShowText(["\\n<Leafael>"])
    ShowText(["Just hearing the name of my previous master makes the flowers wither..."])
    ExitEventProcessing([])
    Empty([])

CommonEvent 5
Name = "EV005"

  Page 0
    ShowTextAttributes(["giriel_fc1", 0, 0, 2])
    ShowText(["\\n<Giriel>"])
    ShowText(["This place is vacant. It seems the occupying forces"])
    ShowText(["don't want to bother coming all the way here to sit on the throne."])
    Script(["actor_label_jump"])
    ExitEventProcessing([])
    Label(["440"])
    ShowTextAttributes(["nagael_fc1", 0, 0, 2])
    ShowText(["\\n<Nagael>"])
    ShowText(["Even Lady Sariela herself probably didn't want to sit there..."])
    ExitEventProcessing([])
    Empty([])

CommonEvent 6
Name = "EV006"

  Page 0
    PlaySE(["RPG::SE(@name=\"Item1\", @pitch=100, @volume=80)"])
    ControlSwitches([2635, 2635, 0])
    ChangeItems([4022, 0, 0, 1])
    Empty([])

  Page 1
    Empty([])

CommonEvent 7
Name = "EV007"

  Page 0
    PlaySE(["RPG::SE(@name=\"Chest\", @pitch=100, @volume=80)"])
    SetMoveRoute([0, "RPG::MoveRoute(@repeat=false, @skippable=false, @wait=true, @list=[\"RPG::MoveCommand(@code=36, @parameters=[])\", \"RPG::MoveCommand(@code=17, @parameters=[])\", \"RPG::MoveCommand(@code=15, @parameters=[3])\", \"RPG::MoveCommand(@code=18, @parameters=[])\", \"RPG::MoveCommand(@code=15, @parameters=[3])\", \"RPG::MoveCommand(@code=0, @parameters=[])\"])"])
    Unnamed(["RPG::MoveCommand(@code=36, @parameters=[])"])
    Unnamed(["RPG::MoveCommand(@code=17, @parameters=[])"])
    Unnamed(["RPG::MoveCommand(@code=15, @parameters=[3])"])
    Unnamed(["RPG::MoveCommand(@code=18, @parameters=[])"])
    Unnamed(["RPG::MoveCommand(@code=15, @parameters=[3])"])
    ControlSwitches([2634, 2634, 0])
    ChangeArmor([490, 0, 0, 1, false])
    Empty([])

  Page 1
    Empty([])

CommonEvent 8
Name = "EV008"

  Page 0
    ConditionalBranch([12, "unlock_level < 3"])
      ShowTextAttributes(["", 0, 0, 2])
      ShowText(["The chest is locked..."])
      ExitEventProcessing([])
      Empty([])

    BranchEnd([])
    PlaySE(["RPG::SE(@name=\"Chest\", @pitch=100, @volume=80)"])
    SetMoveRoute([0, "RPG::MoveRoute(@repeat=false, @skippable=false, @wait=true, @list=[\"RPG::MoveCommand(@code=36, @parameters=[])\", \"RPG::MoveCommand(@code=17, @parameters=[])\", \"RPG::MoveCommand(@code=15, @parameters=[3])\", \"RPG::MoveCommand(@code=18, @parameters=[])\", \"RPG::MoveCommand(@code=15, @parameters=[3])\", \"RPG::MoveCommand(@code=0, @parameters=[])\"])"])
    Unnamed(["RPG::MoveCommand(@code=36, @parameters=[])"])
    Unnamed(["RPG::MoveCommand(@code=17, @parameters=[])"])
    Unnamed(["RPG::MoveCommand(@code=15, @parameters=[3])"])
    Unnamed(["RPG::MoveCommand(@code=18, @parameters=[])"])
    Unnamed(["RPG::MoveCommand(@code=15, @parameters=[3])"])
    ControlSelfSwitch(["A", 0])
    ChangeItems([772, 0, 0, 1])
    Empty([])

  Page 1
    Empty([])

CommonEvent 9
Name = "EV009"

  Page 0
    ConditionalBranch([12, "unlock_level < 3"])
      ShowTextAttributes(["", 0, 0, 2])
      ShowText(["The chest is locked..."])
      ExitEventProcessing([])
      Empty([])

    BranchEnd([])
    PlaySE(["RPG::SE(@name=\"Chest\", @pitch=100, @volume=80)"])
    SetMoveRoute([0, "RPG::MoveRoute(@repeat=false, @skippable=false, @wait=true, @list=[\"RPG::MoveCommand(@code=36, @parameters=[])\", \"RPG::MoveCommand(@code=17, @parameters=[])\", \"RPG::MoveCommand(@code=15, @parameters=[3])\", \"RPG::MoveCommand(@code=18, @parameters=[])\", \"RPG::MoveCommand(@code=15, @parameters=[3])\", \"RPG::MoveCommand(@code=0, @parameters=[])\"])"])
    Unnamed(["RPG::MoveCommand(@code=36, @parameters=[])"])
    Unnamed(["RPG::MoveCommand(@code=17, @parameters=[])"])
    Unnamed(["RPG::MoveCommand(@code=15, @parameters=[3])"])
    Unnamed(["RPG::MoveCommand(@code=18, @parameters=[])"])
    Unnamed(["RPG::MoveCommand(@code=15, @parameters=[3])"])
    ControlSelfSwitch(["A", 0])
    ChangeItems([771, 0, 0, 1])
    Empty([])

  Page 1
    Empty([])

CommonEvent 10
Name = "EV010"

  Page 0
    PlaySE(["RPG::SE(@name=\"Item1\", @pitch=100, @volume=80)"])
    ControlSwitches([2635, 2635, 0])
    ChangeItems([3126, 0, 0, 1])
    Empty([])

  Page 1
    Empty([])

CommonEvent 11
Name = "EV011"

  Page 0
    PlaySE(["RPG::SE(@name=\"Item1\", @pitch=100, @volume=80)"])
    ControlSwitches([2635, 2635, 0])
    ChangeItems([2460, 0, 0, 1])
    Empty([])

  Page 1
    Empty([])

CommonEvent 12
Name = "EV012"

  Page 0
    ShowTextAttributes(["tennyo_fc1", 0, 0, 2])
    ShowText(["\\n<Paipai>"])
    ShowText(["Hehe, I've developed a new Gem!"])
    ShowText(["Next, I will further enhance the abilities of this Gem――"])
    ShowTextAttributes(["alice_fc1", 3, 0, 2])
    ShowText(["\\n<Alice>"])
    ShowText(["Hey, the cell is already open."])
    ShowText(["You are free now, but..."])
    ShowTextAttributes(["tennyo_fc1", 0, 0, 2])
    ShowText(["\\n<Paipai>"])
    ShowText(["I need to make the magical power transfer in this part smoother――"])
    ShowText(["And carve the transfer path more delicately――"])
    ShowTextAttributes(["", 0, 0, 2])
    ShowText(["An angel is quietly creating a Gem."])
    ShowText(["She seems so absorbed that she doesn't even notice us――"])
    ConditionalBranch([1, 1233, 0, 1, 2])
      ControlVariables([1233, 1233, 0, 0, 1])
      ExitEventProcessing([])
      Empty([])

    BranchEnd([])
    ConditionalBranch([1, 1233, 0, 2, 0])
      ConditionalBranch([8, 365])
        ShowTextAttributes(["ruka_fc1", 0, 0, 2])
        ShowText(["\\n<Luka>"])
        ShowText(["I heard that showing fried rice brings her back to her senses."])
        ShowText(["Here, it's time for food..."])
        SetMoveRoute([0, "RPG::MoveRoute(@repeat=false, @skippable=false, @wait=true, @list=[\"RPG::MoveCommand(@code=36, @parameters=[])\", \"RPG::MoveCommand(@code=17, @parameters=[])\", \"RPG::MoveCommand(@code=0, @parameters=[])\"])"])
        Unnamed(["RPG::MoveCommand(@code=36, @parameters=[])"])
        Unnamed(["RPG::MoveCommand(@code=17, @parameters=[])"])
        ShowTextAttributes(["tennyo_fc1", 1, 0, 2])
        ShowText(["\\n<Paipai>"])
        ShowText(["...The aroma of fried rice!"])
        ShowText(["Speaking of which, I haven't eaten anything for about a month!"])
        ChangeItems([365, 1, 0, 1])
        ShowTextAttributes(["", 0, 0, 2])
        ShowText(["Paipai quickly devoured the offered fried rice!"])
        ShowTextAttributes(["tennyo_fc1", 0, 0, 2])
        ShowText(["\\n<Paipai>"])
        ShowText(["Phew, it's been a while since I've felt satisfied..."])
        ShowText(["Huh? Why is there an outsider in the cell?"])
        ShowTextAttributes(["alice_fc1", 5, 0, 2])
        ShowText(["\\n<Alice>"])
        ShowText(["Good grief..."])
        ShowText(["Does she not even realize she has been released from prison?"])
        ShowTextAttributes(["", 0, 0, 2])
        ShowText(["Alice informed that Grangold has fallen――"])
        ShowTextAttributes(["tennyo_fc1", 0, 0, 2])
        ShowText(["\\n<Paipai>"])
        ShowText(["What? My disciple is worried about me..."])
        ShowText(["In that case, I'll return to Iliasburg right away."])
        ShowTextAttributes(["tennyo_fc1", 0, 0, 2])
        ShowText(["\\n<Paipai>"])
        ShowText(["Everyone has taken care of me quite a bit."])
        ShowText(["I'll be resuming business in Iliasburg, so please come visit~♪"])
        ShowTextAttributes(["tennyo_fc1", 0, 0, 2])
        ShowText(["\\n<Paipai>"])
        ShowText(["Well then, see you~♪"])
        FadeoutScreen([])
        ControlVariables([1233, 1233, 0, 0, 3])
        PlaySE(["RPG::SE(@name=\"Wind1\", @pitch=100, @volume=80)"])
        ShowTextAttributes(["", 0, 0, 2])
        ShowText(["Paipai returned to Iliasburg with the wings of a harpy!"])
        FadeinScreen([])
        ShowTextAttributes(["alice_fc1", 1, 0, 2])
        ShowText(["\\n<Alice>"])
        ShowText(["She mentioned she would resume business in Iliasburg."])
        ShowText(["It seems I might be able to obtain a valuable Gem, so I should definitely check it out."])
        ExitEventProcessing([])
        Empty([])
      Else([])
        ShowTextAttributes(["ruka_fc1", 0, 0, 2])
        ShowText(["\\n<Luka>"])
        ShowText(["I heard that showing fried rice brings her back to her senses."])
        ShowText(["But I don't have any fried rice on hand..."])
        ShowTextAttributes(["", 0, 0, 2])
        ShowText(["PaiPai is focused on making the Gem and is completely unresponsive..."])
        ShowText(["I'll prepare some fried rice and come back again."])
        ExitEventProcessing([])
        Empty([])
      BranchEnd([])
      Empty([])

    BranchEnd([])
    Empty([])

  Page 1
    Empty([])
